using System;
using System.Collections.Generic;
using System.Text;

namespace HREngine.Bots
{
    class Sim_GIL_658 : SimTemplate //* 碎枝
    {
        //Battlecry: 选择一个友方随从。将它的一个10/10复制置入你的手牌，其法力值消耗为（10）点.

        public override void getBattlecryEffect(Playfield p, Minion m, Minion target, int choice)
        {
            if (target != null)
            {
                if (m.own)
                {
                    p.drawACard(target.handcard.card.name, m.own, true);
                    int i = p.owncards.Count - 10;
                    p.owncards[i].addattack = 10 - p.owncards[i].card.Attack;
                    p.owncards[i].addHp = 10 - p.owncards[i].card.Health;
                    p.owncards[i].manacost = 10;
                }
            }
        }
    }
}